@tool
extends EditorScript


class Test:
	
	signal custom(data)



# Called when the script is executed (using File -> Run in Script Editor).
func _run():
	
	var test = Test.new()
	PriorityCallableConnector.instance(test).connect_priority_signal(test.custom, self.print_data)
	PriorityCallableConnector.instance(test).emit_priority_signal(test.custom, ["test"])
	


func print_data(data):
	print(data)

